Do you know the tare weight of your tandem trailer?
Realistically, your needs are fairly incompatible (1.7m height, $25k budget, 2,000kg towing (ideally 2,500, as most good braked tandems weigh more than 400kg with ramps and a spare), and wagon-type).
Since the height and towing capacity are non-negotiable, you may need to be flexible on other needs: 1: blow the budget, Audi A6 Allroad Quattro, or Volkswagen Passat Alltrack (must be recent models (post 2016?) for the 2t+ towing capacity) 2: SUV type but lower than 1.7m, Volkswagen Tiguan
Expect to spend more to have your towing capacity upgraded, and a good electronic brake control system installed.
Other contenders: Mercedes GLC (any diesel), although I can't recommend owning one unless you hate money.