JOHANNESBURG — South Africa is riding a wave of patriotism ahead of the World Cup, which national leaders hope will heal the still-sharp racial divide 16 years after the end of white-minority rule.