Averaging principle and hyperbolic evolution equations