The Supreme Court heard a case on Wednesday centered on a Texas measure that would require sites with adult content to implement a system to check a user's government ID.