Quantum-trajectory description of laser noise with depletion