Y-system and β-deformed N = 4 super-Yang–Mills