Covid inquiry hears of ‘grievous harm’ suffered by children behind closed doors including Newtown teen who died