Baillie Gifford has hit back at claims it is greenwashing through its sponsorship of a book festival.