Double-pulse excitation of x-ray capillary lasers