Binyavanga Wainaina, a prizewinning Kenyan writer whose humorous, incisive books and essays explored themes of postcolonialism, gender and sexual identity, including his own decision to come out as a gay man in a country that long demonized homosexuality, died May 21 in Nairobi. He was 48.