Republicans were cautiously optimistic about holding on to the conservative seat in Phoenix’s western suburbs.