Probing the reaction coordinate of photoinduced spin-crossover with femtosecond M-edge XANES