Prime Minister Boris Johnson’s motive for an “exceptionally long” prorogation was to “silence” Parliament, Supreme Court justices have heard.