On the regularity of weak solutions to nonlinear elliptic systems via Liouville’s property