You can check the x position of the enemy and if it's less than a certain number (off screen) call queue_free() to remove it. Usually this is fine to put on the enemy object itself, so if you have multiple enemies they will all be removed individually.
Also, depending on how your world/camera moves, you may have to do some math to figure out what the "off screen" x value is. If the camera itself is moving, then you want to take the difference of the enemy position and the camera position, if that number is larger than half the screen width (plus a little bit so the enemies don't disappear early) then you can remove the enemy (with queue_free() as mentioned before).
Hope that makes sense.