Relationship between gravity and gauge scattering in the high energy limit