Enhancing IoT Security: A Novel Feature Engineering Approach for ML-Based Intrusion Detection Systems