China’s top prosecutor said on Thursday that two Canadians detained after Canada arrested a Chinese technology company executive had “without a doubt” violated the law.