How to find an X capacitor
The datasheet has to say "X capacitor" in pretty large letters on the first page. You shouldn't be inferring the X-rating from electrical specs. (Same for Y-rating, while we're at it.)

Some additional background on X- and Y-capacitors can be found here (presentation slides as PDF) and here.