Tiepolo spent years painting it, an aging master covering gods and clouds across the throne room of Madrid's Royal Palace. By then the Spanish court had a new favorite: a painter with a cooler, sparer style. His work eclipsed him.