Near lifetime-limited emitter in a nanophotonic waveguide