That sounds correct, the distance to the x-axis is the distance we are after, not the distance to the centre of the disc. However, if the moment of inertia of the disc was to be found with respect to its shaft, no matter what angle it is on, the distance from any point to the shaft is the same...