Freeze-out radii extracted from three-pion cumulants in pp, p–Pb and Pb–Pb collisions at the LHC