Towards Hilbert's tenth problem for rings of integers through Iwasawa theory and Heegner points