In John Carney’s dramedy, a thwarted songwriter, played by Paul Rudd, crosses paths with a former boy-band star in search of new material.