Assembly Democrats this afternoon tapped John A. Perez to be the chamber’s next leader, a boost that would make him the first openly gay lawmaker to hold the powerful post.