Stabilization of the wave equation with a nonlinear delay term in the boundary conditions