Recent commissions of stained-glass windows from David Hockney and Bridget Riley tell of a powerful, if suprising contemporary interest in the medium