What is the safest and quietest practical lightweight electric saw to cut 2x4 to use inside an apartment?
jigsaw. 

but really i think you underestimate how easy it is to cut through dimensional lumber with a sharp handsaw.