A judge has dismissed Fargo's challenge to North Dakota restrictions on local gun control