Stefanos Tsitsipas came through a thriller against Dominic Thiem at the ATP Finals in London