China has condemned the US capture of Venezuelan President Nicolás Maduro, describing the action as “hegemonic” and a violation of international law.