DetFed: Dynamic Resource Scheduling for Deterministic Federated Learning Over Time-Sensitive Networks