Spain's Pedro Martinez has eliminated Australian James Duckworth in five sets in the US Open 2021 opening round.