Text this: A mid-circuit erasure check on a dual-rail cavity qubit using the joint-photon number-splitting regime of circuit QED