Improving Graph Neural Networks on Multi-node Tasks with the Labeling Trick (JMLR, 2026)