Add declaration of Path2D class to 2D GFX backend

Doesn't yet exist in tsc's lib.d.ts.