A nonlocal infinite-component wave equation with a physical mass spectrum