United Airlines flight attendants have approved a new labor contract, marking their first pay increases in six years.