After his first choice backed out on live television, the mayor selected Richard A. Carranza, the Houston schools superintendent, for the post.