"What percent of alcohol is beer," is incorrect. It implies that alcohol contains a certain amount of beer, which it the opposite how how it really is. The other sentence is basically ok. To avoid possible confusion you could say something like. "What percentage of alcohol does beer contain."