Reconstruction of stability for Gaussian spatial solitons in quintic–septimal nonlinear materials under $${{\varvec{\mathcal {P}}}}{\varvec{\mathcal {T}}}$$PT-symmetric potentials