The co-chair of the Bill and Melinda Gates Foundation said that the charitable work got less hard once she and her husband decided to focus on the world’s big problems.