Geometry of the Time-Dependent Variational Principle in Quantum Mechanics