Impact of Psychological Distress and Sleep Quality on Balance Confidence, Muscle Strength, and Functional Balance in Community-Dwelling Middle-Aged and Older People