Arguments involve laws passed in West Virginia and Idaho; Trump backs states in crackdown on transgender athletes