Need to switch GPIO2 from high (3.3v) to low (GND) when I get 12 VDC on other circut
A single N-MOSFET should suffice. Drain to pullup/GPIO2, gate to 12V via gate resistor, and source to ground. The popular 2N7002 would be appropriate.