Lionel Messi played his final game for Argentina in a 3-0 win over Benin, scoring in his 208th international appearance before more than 85,000 fans.