A connectedness theorem for products of weighted projective spaces