Answer
Try it and see. As you lean over, a vertical line passing through your CG extends beyond the area bounded by your feet (i.e., your support base). The wall prevents you from shifting backward to keep your CG over your support base.
On average, experiments show that the body structures of people who are born female (with their wider hips and larger pelvic region) have lower CGs than males (with their broader shoulders).