But you did. You completely change the networking. WOL uses a broadcast address on the local subnet only. By changing away from host networking your openHAB is no longer on your LAN’s subnet, it’s on the Docker subnet. So it can no longer send the broadcast to your LAN.
The docs for using openHAB in Docker does not require the use of host networking out of laziness. There are all sorts of things like this that break when you don’t.