Design of a waveguide-coupled nanolaser for photonic integration