Precise Relative Navigation in Medium Earth Orbits with Global Navigation Satellite Systems and Intersatellite Links for Black Hole Imaging