Geodesics on static Lorentz manifolds with convex boundary