To develop this problem we will apply the linear motion kinematic equations. For this purpose we will define the change in speed as the product between acceleration and time.
The relation between initial velocity final velocity and time is
The acceleration is due to the acceleration due to gravity, then we have
At the maximum height the final velocity is zero. Then we have that
The time the player must wait before touching he ball is