Employees at Boeing’s St. Louis defense factories rejected a contract offered by the aerospace giant Sunday afternoon, setting the stage for about 3,200 workers to walk off the job starting at midnight—the first strike the company has faced at its St. Louis defense hub since 1996.