Competing magnetic orderings and tunable topological states in two-dimensional hexagonal organometallic lattices