The pandemic has made clear thinking a real struggle. But researchers say knowing how stress affects the brain can help people cope.