This isn't how the cap works. If Kaprizov is out for 4 weeks it doesn't meaningfully make any difference for Minny's cap situation.
Specifically because weeks doesn't equate to games. We are about to enter the 4 nations period where no NHL games will be played. The Wild will play 10 games in that stretch, so it's not as much cap space as if it were, say, 4 weeks in March where they'll play 14 games in a similar amount of time.
Anyway. Plenty of options where a team will eat salary if you give them good enough pick.