A high-order accurate multidomain Legendre-Chebyshev spectral method for 2D Maxwell's equations in inhomogeneous media with discontinuous waves