The only way to export .onepkg files to .docx files, i.e export Microsoft OneNote packages to Microsoft Word document format would be to use OneNote itself, as it is the only program capable of onepkg to docx conversion or rather export.
You can achieve this by selecting the File menu ► Save As... ► File format Microsoft Word ► fill the name box ► and finally clicking on Save button.