Two-Dimensional Wang–Landau Algorithm for Osmotic Pressure Calculations in a Polyelectrolyte–Membrane System