The child told authorities her mother beat her with an electrical extension cord and withheld food as a form of discipline