Deprivation is hidden in many coastal towns, says the National Education Union, which is affecting children’s health and wellbeing.