A Texas judge has struck down a recent state law that prohibits adult civilians between the ages