Unless you give your home-assistant container host networking privileges, home-assistant’s wol broadcasts will be limited to within the docker networking.
I had a similar issue and solved it by running a secondary container with socat (with host networking privileges), and then using that as a wol proxy from within home-assistant, see Containerized Home Assistant and wake_on_lan