Probing dynamics in quantum materials with femtosecond X-rays