Accretion disk coronae of intermediate polar cataclysmic variables: 3D magnetohydrodynamic modelling and thermal X-ray emission