Quantum wire heterostructure for optoelectronic applications