Visualizing the non-equilibrium dynamics of photoinduced intramolecular electron transfer with femtosecond X-ray pulses