The largest warship the United Kingdom has ever sailed, the HMS Queen Elizabeth, is intended to cement the declining colonial power’s place in 21st century geopolitics and signal that London is a reliable partner for the United States, even as the UK has pulled out of other agreements, such as the European Union.