Cost-Sensitive Threshold Optimization for Network Intrusion Detection: A Per-Class Approach with XGBoost | Synapse