We were using the NSView resize func before but this isn't called by SwiftUI on macOS 12. Instead we wrap it in a GeometryReader and detect the size change in updateNSView so we can call the proper ghostty callback.