Harvard University’s endowment is in advanced talks to sell about $1 billion of private equity fund stakes, at a time when the school faces financial uncertainty compounded by pressure from President Donald Trump’s threats and a sluggish market for returns on illiquid assets.