Dynamical algebra of observables in dissipative quantum systems