Benjamin Thomas produced a textbook ride to secure victory in the Men’s Points Race at the Track World Championships.