In a Spain dominated by a fervent religiosity, the painter Diego de Silva y Velàzquez emerged as a master practitioner of a secular form of art.