Probing light-driven quantum materials with ultrafast resonant inelastic X-ray scattering