The Tate Britain museum has bought a rare sketch by Peter Paul Rubens to keep it from being sold abroad.