Efficient Spectral Compression of Wavelength-Shifting Soliton and Its Application in Integratable All-Optical Quantization