Folding telescopic prefabricated framing units for non-load-bearing walls