Polls show President Trump has squandered his party’s advantage on several issues it has dominated for decades.