Wales’ hopes of automatic Euro 2024 qualification are hanging by a thread after they drew 1-1 with Armenia in Yerevan.