Calculation of the pion-photon transition form factor using dispersion relations and renormalization-group summation