The greenback reported its biggest annual drop since 2017, in yet another blow to President Donald Trump.