On-chip single photon emission from a waveguide-coupled two-dimensional semiconductor