Wales havde alle chancer for at komme foran mod Ungarn, men i stedet tog hjemmeholdet tre vigtige point i EM-kvalifikationsgruppe E.