US judge weighs constitutionality of terror watchlist