Cretinism:

A general term for hypothyroidism that occurs in infants. 
yourmedicalsource.com/library/hypothyroidismchildren/HYC_glossary.html

A congenital condition associated with a thyroid deficiency that can result in stunted physical growth and mental retardation. 

severe hypothyroidism resulting in physical and mental stunting