Simply don't. Powering the RPi via the gpio is possible but bypasses all protections (over/reverse voltage, shortcircuit). Do it only if you know for sure that those things won't happen. Otherwise, know that you might kill your pi.
If you still wanna do it, look for ground (gnd) and a +5v rail on the ender 3 board. The here is the rpi gpio pinout, you have to connect gnd to gnd of the board and +5v to the +5v rail on the board.
I guess a good compromise would be to connect the +5v coming from the ender 3 to the proper pads/vias under the microusb cable on the pi, that way you would still have all the protections in place on the pi. But I have never done that, so don't quote me on that.