South African pianist Abdullah Ibrahim found a mentor in Duke Ellington, a fan in Mandela, a community in American free jazz, and a muse in his once-lost country