Robust and Safe Autonomous Navigation for Systems with Learned SE(3) Hamiltonian Dynamics