Hydration of an apolar solute in a two-dimensional waterlike lattice fluid