Up against the likes of Domino’s, Pizza Hut is closing half its UK restaurants. What went wrong?