Gov. Tina Kotek was one of the few embattled incumbents in her party, but she prevailed in her Democratic state.