The U.N.’s role in mediating peace deals is declining as its humanitarian operations expand. That might not be sustainable.