American Taylor Townsend says she is "proud" of the way she handled the argument with Jelena Ostepenko at the US Open.