Appointed by political colleagues to be the president of a newly formed Confederacy, Davis accepted a challenge that was ultimately doomed to failure.