Texas ruling allows investigations into trans youth parents