When you use a chapstick, you rub it on your lips, right? You aren't just touching it to your lips.
And it's just a theory that chapstick might spread it, it's not for sure. It's just something that, if you're being really careful about not getting it, you should avoid. (You should avoid it anyway, since it could spread the flu, colds, covid, staph, MRSA, etc.)