France says Iran has released a teenage French-German cyclist who disappeared in June while riding across the country.