Lipschitz-type inequalities for analytic functions in Banach algebras