Mohamed Salah's penalty sends 10-man Egypt into the 2025 Africa Cup of Nations last 16 with a 1-0 victory over South Africa.