A bill to shield information about California’s embattled bullet train is adding new political scrutiny to the rail project as the state grapples with a loss of federal funding.