On a class of singular or degenerate hyperbolic variational inequalities