A new study proves that diets high in fat, sugar, and processed foods are lowering children’s intelligence. Here’s how to fix the conundrum.