On the optimal photon energy for photon‐assisted nonresonant charge exchange