President-elect Donald Trump has chosen retired Marine Gen. John F. Kelly to run the Department of Homeland Security, turning to a blunt-spoken border security hawk who clashed with the Obama administration over women in combat and plans to close the prison at Guantanamo Bay, according to people familiar with the decision.