U.S. workers have wasted millions of hours applying to jobs with the wrong salary—how to avoid it