Wavelength demodulation using optically quenched lasers