You enter the Distortion World after defeating the Galactic Admins at the Veilstone Game Corner, which occurs after earning the 4th Gym Badge.
Note: This area is only accessible at this specific story point and cannot be revisited later.