You either have to configure the new Wi-Fi to match the last network the TV was connected to (same SSID/network name and password) or get a physical remote. There's no way to use the app until the TV and the phone are connected to the same network. If the TV has an Ethernet connector, you may be able to use a wired connection and then use the app to get it connected to Wi-Fi.
Roku Community Streaming Expert
Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.
I am not a Roku employee.