Beijing’s preferred candidate Carrie Lam wins election