Lectric Handlebar-Mounted Adjustable-Width Phone Mount
The only mount whose XP4 fit is stated by the company that built the bike, and it clamps on pads so the unpublished bar diameter stops mattering entirely.
Install note
Lectric states this fits all its eBike models, and lists it on the XP4 compatible-accessories collection, so the fit claim comes from the manufacturer of both parts. Worth noting what the page does NOT say: it states no handlebar diameter requirement at all, relying on silicone pads and an adjustable clamp instead. That is a reasonable design given Lectric never publishes the bar diameter either.