Soft X-ray measurements with a gas detector coupled to microchips in laser-plasma experiments at VEGA-2