Trajectories of a charge in a magnetic field on Riemannian manifolds with boundary