The bathroom door also uses a screw as a stop. The door may have closed and slammed back open during travel and wedged that screw into the top of the door - one theory anyway. I am assuming you've already verified that the track mechanism on the floor at the front of the door is not getting in the way of you closing it? You might just remove that for now and that should allow you to swing the bottom of the door out away from the wall for better leverage.
Also, if you can reach the top roller latch and open it, you can pull the door off the hanger and that should allow you to move it around more freely to figure out what is going on. Naturally, you'll have to lift and pull since it would be resting on the floor at that point.
With a flashlight you should be able to see into the recess. An endoscope is so handy to have for seeing into small areas like this. With one of those you could see if something is binding on top or somewhere else.
If the door simply came off the roller(s), you need to lift and pull out. I made a post with picture on how to make those roller latches stay closed as they can be pretty loose from the factory.
Once you get the door to move again, you'll want to check the heat duct that runs along the wall at the back of the door. If the door punctured it, you might want to patch it up with foil tape. I cut a piece of wood the right length to slide under the duct against the wall and long enough that when the door stops against it, it cannot push into the duct. I just held it in place with double sided tape. I also removed the stop screw at the top and replaced it with a square piece of plastic (with a screw through it) which I placed so that the rear roller bumps into that at the same time the piece of wood on the floor hits the back of the door. Sorry, I don't have any pictures of that stuff. Hope that helps.