A federal judge appointed by Ronald Reagan blocked the enforcement of Trump's executive order targeting "gender ideology."