Ground-state Riemannian metric, cyclic quantum distance, and the quantum criticality in an inhomogeneous Ising spin chain