Divisive issues like abortion, race and LGBTQ rights shape midterms