Lawmakers across a number of states are bracing for the possibility of running against colleagues in 2022 as part of the decennial redrawing of district lines.