The appeals court weighed whether to allow New York to enforce its statute barring the practice of law by nonlawyers.