The X-ray environment of the dumbbell radio galaxy NGC 326