Advanced active-current control for fast and stable operation of a carbon nanotube field-emission X-ray tube