Ground states of a nonlinear curl-curl problem in cylindrically symmetric media