Elon Musk is trying to drag the midterm debate away from inflation and gas prices and turn it into a referendum on transgender issues.