wxDisplayFactory::GetFromWindow: Use GetScreenRect() instead of GetRect().

GetRect() returns the position inside the parent window but the returned value
is used to find the display screen.