Mr. Hayes , a Republican whose district in North Carolina has lost thousands of textile jobs in the last four years , had defied President Bush and House Republican leaders by voting against the Central American Free Trade Agreement , or Cafta .