A pixelated x-ray detector for diffraction imaging at next-generation high-rate FEL sources