I have the same issue with a MB 16" and a HP G2 docking station with two LG 27" 4K monitors connected to the dock via usb-c. Whenever waking up the Macbook from sleep or when changing something with the cabling, the Macbook panics.
For me there is a work-around however; I keep the first LG monitor connected via usb-c to the thunderbolt port of the dock. The second monitor was connected via usb-c to the usb-c/displayport port of the dock. I switched the single usb-c cable to a plain display-port cable plus additional usb-c to usb-a cable (so I can still use the usb-hub functionality of the monitor). With this setup the panics are gone (fingers crossed).
HTH