In his wry yet heartfelt new novel set entirely in Sri Lanka, the author uses humour to reflect on trauma