Add parent widget argument to a few card commands
Those commands need to know the parent widget at least when showing an
error message. Allow passing it to the constructors instead of having to
set it manually.
(cherry picked from commit 5f97fa6ca4844303e3c003650118e6ba97a86c6e)
- GnuPG-bug-id: T7018