The Joslin Smith trial reveals a tangled narrative of addiction, abuse and contradictions, as questions arise about her role in the child’s disappearance