On the existence of a wave of greatest height and Stokes’s conjecture