Officials in Maryland, New York, New Mexico and Kansas City are among those launching recruitment campaigns targeting federal workers. But matching those workers’ federal salaries and competing with private sector offers will be tough.