uFL Antenna feed line on a 4 layer PCB [ESP32 WIFI Chip]
You can use the same coplanar waveguide. You'll want to get Saturn PCB Toolkit to calculate the appropriate geometry for the shorter distance to the inner ground plane. You would be best served to keep this trace on the same outer layer, and keep a solid ground plane under it.