Theory of ultrafast spatio-temporal dynamics in semiconductor heterostructures