Some polls have also shown the president gaining ground among groups that have not traditionally voted Republican.