A Ginsparg-Wilson approach to lattice $\mathcal{CP}$ symmetry