Role of the Hydration Shell in the pH-Dependent Adsorption of Maleic Acid