Critical wetting in the square Ising model with a boundary field