Add WKPage API to get whether the main frame is pinned to the top or bottom edge