If your forks are straight (plumb) but the wheel/tire isn’t, perhaps the axle isn’t level? In which case, maybe the forks are not equally long through the trees? Measure axle centerline to ground for front on both sides. See what you get.
As for tires being aligned, are you working off edge of them or centerline of each tire? Different width rims and tires will never align on the edge, right? Drop a plumb line on each side of front and rear, mark the outsides. Move the bike. Mark the centerline front and rear. Check for alignment. Also drop a few reference points from frame to ground for reference, like pivot rod ends, motor brackets beneath motor, etc. Poor man’s frame jig-