A building will build to completion, regardless of if the city is conquered. So in the situation you describe, if your friend conquers the city, the Feasting hall will continue to upgrade to level 10, during the time your friend owns the city. I know this because the first city I ever conquered was in the process of building level 10 walls... and they finished under my ownership.