Playing the first two games is never a bad idea, as they will, indeed, provide some useful background, but it's not strictly necessary, in order to enjoy Wild Hunt, and the expansions. You can dive into Witcher III without the previous games, and visit them later, if you like.