Revealing Structural Dynamics in Catalytic Reactions Using Ultrafast Transient X-ray Absorption Spectroscopy