A gauge-covariant derivation of the strong-field approximation