Alexander Curtis, up from slavery to the Alabama legislature