Data-driven control of input-affine systems via approximate nonlinearity cancellation