The vow marks a 180 for Graham, who said two years ago that he wouldn’t take up a nominee during the election year