There is a point for Leo putting his bathing suit on, despite what Marcus says. In fact, there are two: to be closer to a state of nudity, and to fit in with the group. Even if he isn’t going to swim, Leo has already learned that appearances are important. There is also a note of voyeurism here, as Leo gets excited by the idea of watching others and being unseen himself.