Wilson loops and integrability