Walker’s 3 hits lift Diamondbacks over slumping Royals, 7-3