On a variational problem for radial solutions to extremal elliptic equations