Integral distance on a Lipschitz Riemannian manifold