Electronic control of exciton coherence in a charged quantum dot photonic waveguide