I'm not sure why you need midi 2.0 to achieve this? Recording midi on windows is totally trivial, and for this sort of application, only capturing the notes and relevant CCs (e.g. pedals) is all you need.
See announcement here: https://devblogs.microsoft.com/windows-music-dev/windows-mid...