By ERIC TUCKER WASHINGTON — FBI Director Christopher Wray told bureau workers Wednesday that he plans to resign at the end of President Joe Biden’s term in January, an announcement that came a week and a half after President-elect Donald Trump said he would nominate loyalist Kash Patel for the job. Wray said at a town hall meeting that he would be stepping down “after weeks of careful thought,” roughly three years short of the completion of a 10-year term during which he tried to keep the FBI out of politics even as the bureau found itself entangled in a string of explosive investigations, including two that led to separate indictments of Trump last year as well as inquiries into Biden and his son. “My goal is to keep the focus on our mission — the indispensable work you’re doing on behalf of the American people every day,” Wray told agency employees.