Ultrafast control of electron spin in a quantum dot using geometric phase