Decision to leave largest US philanthropic organisation comes three years after divorce from Bill Gates