Reduced-Order Modelling of Residual Stresses and Distortions in Welded and Additively Manufactured Components