New micro pattern gas detector for x-ray diffraction experiments in the sub-millisecond time scale