Quantum quench across a holographic critical point