The cycle class of the supersingular locus