The woman's 'terrible secret' was only discovered by 'sheer chance' shortly before the child's third birthday - now she's been jailed