It’s a remarkable elevation for a former 2016 primary rival who exchanged personal attacks with Trump as they battled over the Republican Party’s future.