Restoration of the focal parameters for an extreme-power laser pulse with ponderomotively scattered proton spectra by using a neural network algorithm