National Gallery of Art curators have spent two years selecting from the defunct museum’s 17,000 works