Many-gluon correlations and the quark form factor in QCD