Which legal doctrine grants the state the authority to intervene in the lives of children to protect them from harm or neglect, acting as the 'ultimate parent'?