A Foundation Model for Patient Behavior Monitoring and Suicide Detection