Psychologists are learning that giving people a small dose of fake news—before they see it in the wild—can act like a mental vaccine.