Update: either the wedge was loosened or the threads in the wedge were destroyed by the hammer. I think the wedge is inside the steerer now, BUT the stem is still stuck. I think it's fused with the headset, but is there a way to remove the headset while the stem is still on?