A £51m border control post built to handle post-Brexit checks on imports will sit empty for now, Wales's deputy first minister said.