Tuesday’s special election in a GOP-leaning district may provide another window into the partisan realignment taking place ahead of 2020.