President Donald Trump has asked advisers and allies about possible replacements for Defense Secretary Pete Hegseth, four people familiar with the matter said, a sign that the president realizes that his Pentagon chief’s unpopularity on Capitol Hill could be an impediment in his final two years in office.