Closing the loop: an explicit calculation of the nonlinearity in the resolvent formulation of wall turbulence