Synergistic Localization and Sensing in MIMO-OFDM Systems via Mixed-Integer Bilevel Learning