W-types in setoids (Logical Methods in Computer Science, 2021)