have time or have a time?
"Do you have time?" would be used to ask if the person has time in their schedule. To the best of my knowledge "Do you have a time?" is not used at all, at least in standard American English. It can however be used as a phrase in a larger question (as graciously pointed out by J.R.).