High-extinction-ratio, electrically waveband-switchable multi-wavelength pulsed source