The GA-H370M-DS3H has the Displayport connection that you require for 4K screen resolution. B-360 is a cheaper board, best suited to 2 or 4 core processors for office use. You may get one of these running, but you should add a RX560 graphics card to get 4K screen resolution which makes the cheaper board option more expensive.
The H370-D3H has Intel® CNVi 802.11ac Wave2 2T2R WIFI which can either be removed or upgraded to macOS compatible hardware. Does not have DisplayPort for 4K screen support so add in a AMD RX560.
The only RX560 card known not to work with macOS is the XFX branded models,, which are good options if you were looking at either the RX570 or RX580 cards for improved graphics capabilities.