His earlier novels were controversial, but when he included a gay man in his fourth novel, “angry Palestinians wrote on his Facebook page, and their own pages, that they wanted to lynch Yahya and burn bookstores and libraries carrying Crime in Ramallah.”