Texas A&M University on Friday announced the resignation of its president in the fallout over a Black journalist who said her celebrated hiring at one of the nation’s largest campuses quickly unraveled due to pushback over her past work promoting diversity.