Text this: A Class of Semilocal E-Preinvex Functions and Its Applications in Nonlinear Programming