Cathay Pacific’s chief executive and chief commercial officer have resigned as the Hong Kong airline attempts to extricate itself from the controversy over its attitude to staff taking part in city-wide democracy protests.