If your game is running in administrator mode Discord will not be able to capture push-to-talk keys unless it is also set to administrator mode. Perform the following steps to change Discord to admin mode:
1. Quit Discord
2. Right-click the Discord shortcut and click "Run as administrator"