Did you inform the doctor or nurses that you are pregnant before proceeding to x-ray? As far as I know they should not let you undergo x-ray if they know you are pregnant.
An xray has abt the same radiation as sitting on a plane. I wldnt worry if i were u