Two-masted sailing boat