Discrete geodesics method for creeping waves on numerical surfaces