Geometric Hamiltonian Formalism for Reparametrization Invariant Theories with Higher Derivatives