The wild polio virus has been detected in Germany for the first time in more than 30 years after it was picked up in wastewater.