A North Carolina federal judge shot down a constitutional challenge Thursday to a state law that criminalizes patent licensing demand letters sent in bad faith, rejecting a licensing company's arguments that the law violates the rights to free speech and equal protection.