A viral trend featuring AI-generated images of the Cat in the Hat has raised school safety concerns in the US, prompting increased security.