RiskAgent: Autonomous Medical AI Copilot for Generalist Risk Prediction