An appellate court called into question a multitrillion-dollar omnibus bill passed in 2022 after more than half of the House’s members voted remotely on it.