From your equation $h(x)=-0.005x^2+x$, we get that $h(x)=0$ when $x(-0.005x+1)=0$. This happens when $x=0$, and also when $-0.005x+1=0$. Rewrite this as $0.005x=1$. We get $x=\frac{1}{0.005}=200$.
The maximum occurs halfway between $x=0$ and $x=200$, that is, at $x=100$. Substitution shows that $h(100)=50$.
Another way of doing it is by using a remembered formula. And indeed if $a=-0.005$ and $b=1$, the maximum height happens when $x=\frac{-b}{2a}$, which in this case gives $x=100$.
Then you substitute in the height formula to get the maximum height. The $50$ that you get is the maximum height, and has nothing to do with hitting the ground. For that, we got $x=200$.
Remark: I will add some theory that may help in the long run. We have $h(x)=-0.005x^2+x$. Note that $0.005=\frac{1}{200}$. So we can rewrite the formula for $h(x)$ as $h(x)=-\frac{1}{200}(x^2-200x).$ Complete the square. We get $h(x)=-\frac{1}{200}((x-100)^2 -10000)$ or more simply $h(x)=50-\frac{1}{200}(x-100)^2.$ The term $\frac{1}{200}(x-100)^2$ is always $\ge 0$, and is $0$ when $x=100$. At that value of $x$, $h(x)$ is as big as it will ever get, namely $50$.