Demonstration of a novel technique to measure two-photon exchange effects in elastic $e^\pm p$ scattering