Conditions for extreme wave runup on a vertical barrier by nonlinear dispersion