Implement two-dimensional transposed convolution matching PyTorch output layout, stride, padding, and optional bias.