International firms are hiring American employees who want to work from home, as remote job opportunities in U.S. decline.