The role of molecular gas in the nuclear regions of IRAS 00183-7111: ALMA and X-ray investigations of an ultraluminous infrared galaxy