S$^3$E: Self-Supervised State Estimation for Radar-Inertial System