A pro-Palestine protester has been arrested after spending more than 16 hours perched on top of the clock tower of Big Ben.