Lie algebras responsible for zero-curvature representations of scalar evolution equations