In lawsuit involving 12 states, judges review whether president’s invocation of 1977 law is justified to support the controversial levies.