Ghana's hopes of qualifying for the 2025 Africa Cup of Nations (AFCON) have been dashed after a 1-1 draw against Angola.