An author walked out of her event at the Edinburgh International Book Festival due to concerns about the sponsor Baillie Gifford and its alleged links to the fossil fuel industry.