Switzerland's Alain Menu claimed his fifth World Touring Car Championship victory of the season by outpacing Rob Huff in Shanghai.