To turn T-Mobile Wi-Fi back on, go to Settings > Network & internet > Advanced > Wi-Fi Calling and toggle on the ‘Wi-Fi Calling’ switch.