A new Smithsonian show, seven years in the making, takes a deep dive into the life of a self-taught artist and former slave