The High Court said it would rule soon on whether lawmakers, and not the government alone, must trigger the process of leaving the EU.