Ultra-High port count wavelength selective switch employing waveguide-based I/O frontend