Atomic Pair-State Interferometer: Controlling and Measuring an Interaction-Induced Phase Shift in Rydberg-Atom Pairs