McKinley Wright IV agrees to two-way contract with Minnesota