The solicitor general argued that earlier ruling blocking the layoffs encroaches on the president's authority to run federal agencies.