Invariance for quasi-dissipative systems in Banach spaces