York and North Yorkshire could be a trailblazer for the future running of bus services, the transport secretary has said.