Theory of chiral edge state lasing in a two-dimensional topological system