The X-CLASS survey: A catalogue of 1646 X-ray-selected galaxy clusters up to z ∼ 1.5