Cristiano Ronaldo has retired from international football at 41 after a falling-out with coach Jorge Jesus, ending a record 234-cap Portugal career.