The maximum energy of the emitted X-ray photon is equal to the kinetic energy of the electron, which is $E = eV$. The energy of a photon is also given by $E = hc/\lambda$. Equating these gives $eV = hc/\lambda_{min}$. Therefore, the minimum wavelength (corresponding to maximum energy) is $\lambda_{min} = hc/eV$.