Keira Knightly will perform on London's West End for the first time since 2011's The Children's Hour.