Rebel Wilson, who lost 35 kg, starred in a swimsuit on a yacht