Directed flow of photons in Cu $\mathbf{+}$ Au collisions at RHIC