Motion Estimation for Multi-Object Tracking using KalmanNet with Semantic-Independent Encoding