Quasilinear hyperbolic equations with hysteresis