A federal panel of judges wants to solve Texas’ gerrymandering once and for all, but historic influences shaping this problem run deep