Local relaxation and maximum entropy in two-dimensional turbulence