A rise in bacterial brain infections in children has been linked to COVID-19 by a new study.