Finding Linear Arrangements of Hypergraphs with Bounded Cutwidth in Linear Time