The ENUBET positron tagger prototype: Construction and testbeam performance