On a variational inequality for a degenerate quasilinear hyperbolic equation