The board of the N.A.A.C.P. voted to endorse same-sex marriage on Saturday, putting the weight of the country’s most prominent civil rights group behind a cause that has long divided some quarters of the black community.