On "The Average Height of Planted Plane Trees" by Knuth, de Bruijn and Rice (1972)
The monotonic paths from $(−h,h)$ to $(n−1,n−1)$ that you construct only avoid the boundary $y=x+2h+1$ before they cross $y=x+h$ for the first time. Thus the formula you use is not applicable.