Capital gains tax signed into law in Washington, but faces opposition in the courts