First, check to see if your DVI port is dual-link DVI. If it is only single-link, you won't be able to run 144Hz. Depending on your RX 470 card this may be different between manufacturers. Here's a diagram that shows DVI pinouts:
Yours must be either DVI-D Dual Link or DVI-I Dual Link to support 144Hz.
If it is indeed dual-link DVI, in order to get the full bandwidth and run at 144Hz, you'll have to buy an active adapter like
this one from Amazon. They are a little bit pricey though, so you may want to wait till it's on sale if you don't need it tomorrow.
Note that all adapters of this type are DisplayPort; HDMI to dual-link DVI adapters simply don't exist.
Hope this helps.