Critical points of glueball superpotentials and equilibria of integrable systems