The Ziegler spectrum for derived-discrete algebras