New filings show that the president’s foundation donated more than $2.2 million to veterans’ groups last year, but it is now in the process of closing.