[identify] skip layer with no geometry

the indentify tool takes age to get the result dialog if you have a geometryless table with too many rows