Adds max_attempts field to line construction sequences

This is the authoring-app side of [#42915745] - it lets authors add this field to activities in Hobo.