Dissipative Lyapunov functions and differential equations in a Banach space