A federal judge could sanction everyone involved over allegations of ‘serious misconduct’ in the president’s lawsuit against himself, Alex Woodward writes