Spontaneous Symmetry Breaking of a Hinged Flapping Filament Generates Lift