Jack Dorsey’s donation comes after enduring a rocky couple of months for some of his personal and company’s decisions.