No commissioner, executive director or other head of any agency or public authority shall seek nomination, designation or election to any compensated federal or state public office, or shall commence a candidacy for such office, unless such individual first resigns from State service or requests and is granted a leave of absence without pay.