How to get widget's absolute(global) position of the screen

You can use obj->coords.x1.

Or in a more elegant way:

lv_area_t a;
lv_obj_get_coords(obj, &a);
lv_coord_t abs_x1 = a.x1;