Craig Bellamy will retire from international football after Wales' final World Cup qualifier against Belgium in October.