Three-photon-exchange nuclear structure correction in hydrogenic systems