The hadronic beamline of the ENUBET neutrino beam