Firearms rights organisations filed an emergency petition seeking to overturn Maryland’s restrictions on carrying guns in public areas