Geometry and dynamics of quantum state diffusion