Neural-FEM approach for the analysis of hysteretic materials in unbounded domain