Just a thought - if you can hear his bed banging on the wall, chances are he can hear yours. It probably doesn't cross his mind you can hear him. Honestly, I think this is one of those things you have to deal with living in shared wall housing. I certainly don't think it is justified to ask him to move his room around. You can probably ask him to pull the bed a bit from the wall, but if you hear the banging, you most likely will hear the 'other' sounds.
Yes, you have to listen to other people's noise when you are in shared housing. But that doesn't mean that the other people have a license to make as much noise as they want.
This is what I call "optional" noise. It is something that can be controlled, unlike, say, a crying baby. The neighbor does not have to engage in this activity at this time in this place. It's noise that is loud enough to wake people out of a sound sleep at an hour when the average person is in bed sleeping. It's not the noise of someone coming home from a late shift--that's "non-optional" noise.
So I think the OP has the right to ask that noise near the bedroom be eliminated/reduced during the night. I'd go with, "Something in your apartment is making noise and waking us up between midnight and two a.m. several nights a week. Do you think you could do something to quiet that down?" Or, if the guy has one steady girlfriend, speak to her about it.