Regularity of higher energies of wave equation with nonlinear localized damping and a nonlinear source