Generation of ultrahigh-brightness pre-bunched beams from a plasma cathode for X-ray free-electron lasers