The complete singlet contribution to the massless quark form factor at three loops in QCD