We know children benefit from smaller classes – but what, exactly, are the advantages? As a principal, Louise Connolly carried out research on links between class size and wellbeing – and her findings may help schools to support pupils post-lockdown