An Extension Problem and Trace Hardy Inequality for the Sub-Laplacian on H-type Groups