Cruz’s legislation would ban Hollywood productions from using “Pentagon assets” if they enable Chinese censorship.