Contrastive Learning Over Random Fourier Features for IoT Network Intrusion Detection