A Comprehensive Insight into the DFT Based Mechanical and Thermodynamic Performances of MgX (X = Lu, Hf) Intermetallics