High performance laser with nanopatterned active layer by selective area epitaxy