Identifying hidden charm pentaquark signal from non-resonant background in electron–proton scattering