Islamic State claimed responsibility on Monday for an attack on a Chinese-run restaurant in a hotel in Kabul.