Gareth Bale gave Wales the lead in their World Cup play-off semi-final against Austria with a stunning free-kick.