A stellar occultation by the transneptunian object (50000) Quaoar observed by CHEOPS