Impact of Preoperative Quality of Life and Related Factors on the Development of Surgical Site Infections Following Primary Total Joint Arthroplasty: A Prospective Case-Control Study with a Five-Year Follow-Up