The century after the United States established its independence saw artists making works that were crucial to forming the country’s cultural identity.