Paul Gauguin painted his greatest masterpiece, titled “Where Do We Come From? What Are We? Where Are We Going?,” before attempting suicide.