Modular quadrupole array capture line for plasma-accelerated electrons