Sealed gas pixel detector for X-ray astronomy