On a resolvent estimate of the Stokes system in a half space arising from a free boundary problem for the Navier–Stokes equations