The House of Cards actor will play the former Prime Minister in a wartime film, Captain of the Gate