CHANG-ES. XXVI. Insights into cosmic-ray transport from radio halos in edge-on galaxies