Yale University’s endowment posted a 20.2 percent return in the 2014 fiscal year, besting rival Harvard.