The magnificent painting depicts King William III and Queen Mary II, who founded the Royal Hospital for Seamen in 1694, on the banks of the Thames in south London