Actually just about everything you said there is wrong. Sorry about that klockan but somebody had to say it.
First off magnetics are dipoles and the don't have "charge". That first statement is correct for a charge near a good conductor but not so applicable to the magnet case.
Secondly the change in magnetic force with distance is far from a simple inverse square law. At very close spacing it is approximately an inverse square of the form k/(a + bx)^2, but only with the simplifying assumptions of neglecting flux fringing and of a linear iron circuit. The force will depart very significantly from an inverse square law at medium and larger distance (relative to the N-S pole separation).
Thirdly iron is conductive as well as magnetic so eddy currents will be induced in the iron that provide a further interaction. Even if the wall was non-magnetic (but conductive, say Al for example) you get these eddy currents interacting with the moving magnet and generally providing a retarding force
Finally I agree with what was said previously that this will be even more complicated if the orientation of the magnet is not constrained.