The effect of κ-distributed trapped electrons on fully nonlinear electrostatic solitary waves in an electron–positron-relativistic ion plasma