The West is trying to cut China out of rare earths—and China is noticing