Wouldn’t those be the same? The periods of each planet’s orbit aren’t factors/multiples of one another, so eventually any two will be at opposite points in their orbit.
If I'm doing this correctly I think the max distance between two points would come out to max_x max_y ||x - y|| whereas the max distance to the orbit would come out to max_x min_y ||x - y||.
The closest is the 2:3 ratio of Pluto:Neptune. (It counts if you consider Pluto a planet. ;)
Otherwise, there's a nice table showing "near-integer-ratio relationships between the orbital frequencies". If I understand it correctly, each of the bigger-than-a-dwarf-planet planets will be at their furthest possible distances from each other in timescales no longer than about 50,000 years.