you could use a wireless charger potentially but also you may just need to get a different adapter that has a separate port for charging than the HDMI, something like this:
https://www.amazon.com/Belkin-Supports-Passthrough-Connected-AVC002btBK/dp/B0893452HR
Get a dongle with at least a power pass through port. Usb c to Hdmi cables are ok for an hour here and there but you effectively put your phone on a timer to drain till its dead.
You don't need any other ports. Just get anything with a charging port.
https://www.amazon.com/gp/product/B0893452HR/ref=ox_sc_act_title_1?smid=ATVPDKIKX0DER&th=1