Microscopic quantum theory of spatially resolved photoluminescence in semiconductor quantum structures