Off-shell single-top-quark production in the Standard Model Effective Field Theory