After Joseph Smith’s death in 1844, the young Mormon Church faced chaos, betrayal, and the question of who would lead next.