UBS says it will kick in money when U.S. wealth-management clients contribute to the company's charitable foundation.