Text this: Local form factor subtraction for three-loop QCD corrections to electroweak production in quark-antiquark annihilation