Fast x-ray imaging of the National Spherical Tokamak Experiment plasma with a micropattern gas detector based on gas electron multiplier amplifier