Integrability of geodesic motions in curved manifolds through nonlocal conserved charges