Christopher Wray said he plans to resign at the end of President Joe Biden's term, after president-elect Donald Trump said he would nominate loyalist Kash Patel for the job.