The Justice Department told a federal appeals court that judges who blocked executive orders sanctioning several law firms had infringed on the president’s authority.