Personalized Federated Learning via Domain Adaptation with an Application to Distributed 3D Printing