Chosen Solution
I replaced the lightening connector assembly and everything seemed to go back together just fine, but after starting up the phone again, the wifi is not working. Specifically, the wifi cannot be enabled, the switch in settings is off, and cannot be turned on.
In my experience, when something is grayed out on iPhones it’s because that component is not functioning. I have also seen a bad rear camera cause the flashlight to not work. It’s likely you accidentally damaged the Wi-Fi antenna. It’s also possible that the connector is not clicked in correctly. There is also a screw that holds a bracket to the frame. Not sure if this grounds anything but that could also be a potential reason this is not working.