Invariance of quasilinear equations of hyperbolic type with respect to three-dimensional Lie algebras