Find the empty land cell that minimizes the total travel distance to all buildings.
You are given a 2D grid with:
0 = empty land (can be built on)
1 = building
2 = obstacle
Find an empty cell such that the total Manhattan distance to all buildings is minimized. Return the minimum total distance, or -1 if no such cell exists.