Mom who glued child's hands to wall gets 99-year sentence